public with sharing class pageRender1 {


    public pageRender1(){
       genPdf();
    }
    
    public void genPdf(){
     
       //  pagereference pf = new pagereference('/apex/pageRender1');
           // pf.getContentAsPDF();
     
     }
}